package com.ztjy.repository.biz;

import com.github.pagehelper.PageInfo;
import com.ztjy.bean.RkWarehouse;

import java.util.List;

public interface RkWarehouseBiz {
    /**
     * 分页模糊查询
     * @param rkWarehouse
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageInfo<RkWarehouse> findAllRkWare(RkWarehouse rkWarehouse,Integer pageNo,Integer pageSize);

    /**
     * 查询所有
     * @param rkWarehouse
     * @return
     */
    List<RkWarehouse> findAllRkWarehouse(RkWarehouse rkWarehouse);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    public RkWarehouse findRkWarehouseById(Integer id);


    public List<RkWarehouse> findRkWarehouseByIdList(String rkIndent);
    /**
     * 添加
     * @param warehouse
     * @return
     */
    boolean AddRkWarehouse(RkWarehouse warehouse);

    /**
     * 修改
     * @param warehouse
     * @return
     */
    boolean UpdateRkWarehouse(RkWarehouse warehouse);
}
